package com.example.book.service.impl.admin;

import com.example.book.dto.BookDTO;
import com.example.book.dto.BookPageDTO;
import com.example.book.dto.BorrowPageDTO;
import com.example.book.entity.Book;
import com.example.book.result.PageResult;

import javax.security.auth.login.AccountNotFoundException;
import java.util.List;

public interface BookService {
    void insertBook(BookDTO bookDTO) throws AccountNotFoundException;

    PageResult pageInquire(BookPageDTO bookPageDTO);

    void deleteByBookName(List<String> bookName) throws AccountNotFoundException;

}
